package com.atguigu.gmall.web;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.FeignClientProperties;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author 钟涛
 * @version 1.0
 * @description:
 * @date 2021/12/10 10:25
 */
@SpringCloudApplication
public class WebAllMainApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(WebAllMainApplication.class, args);
//        String[] beanDefinitionNames = run.getBeanDefinitionNames();
//        for (String beanDefinitionName : beanDefinitionNames) {
//            System.out.println(beanDefinitionName);
//        }
//        FeignClientProperties bean = run.getBean(FeignClientProperties.class);
//        System.out.println(bean.getConfig());

    }
}
